<html>
<head>
  <title>

  </title>
  <style>
    #wrap {
      height: 400px;
      /*background: red;*/
      display: -webkit-box;
      /*-webkit-box-orient: horizontal; 默认值*/
      /*!**!*/
      -webkit-box-orient: horizontal;
      -webkit-box-direction: normal;
      /*display: flex;*/
      /*flex-direction: row-reverse;*/

      /*-webkit-box-pack: start;*/
      -webkit-box-pack: justify;

    }
    #wrap > div {
      width: 30px;
      height: 30px;
      border: 1px solid;
      text-align: center;
      font: 20px/30px "微软雅黑";
    }
  </style>
</head>
<body>
  <div id = "wrap">
    <div>1</div>
    <div>2</div>
    <div>3</div>
    <div>4</div>
    <div>5</div>
  </div>

</body>
</html>